package com.app.utils.jst;

public interface JstEnum {
    enum Url{
        店铺查询("https://openapi.jushuitan.com/open/shops/query"),
        商品列表查询("https://openapi-hz.jushuitan.com/open/api/goods/inneropen/goods/querygoodslist"),
        商品详情查询("https://openapi-hz.jushuitan.com/open/api/goods/inneropen/goods/querygoodsdetail"),
        订单上传("https://openapi.jushuitan.com/open/jushuitan/orders/upload"),
        订单查询("https://openapi.jushuitan.com/open/orders/single/query"),
        物流查询("https://openapi.jushuitan.com/open/logistic/query");

        private final String uri;

        Url(String uri) {
            this.uri = uri;
        }

        public String getUri() {
            return uri;
        }
    }
    
    //订单状态
    enum status {
        待付款("WaitPay"),
        发货中("Delivering"),
        被合并("Merged"),
        异常("Question"),
        被拆分("Split"),
        等供销商("WaitOuterSent"),
        外仓发货("WaitOuterSent"),
        已付款待审核("WaitConfirm"),
        已客审待财审("WaitFConfirm"),
        已发货("Sent"),
        取消("Cancelled");
        private final String status;

        status(String status) {
            this.status = status;
        }

        public String getStatus() {
            return status;
        }
    }
}
